#!/usr/bin/make -f

include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/debhelper.mk

JAVA_HOME              := /usr/lib/jvm/java-gcj
DEB_ANT_INSTALL_TARGET := jar

install/kunststoff::
	install -m 644 -D kunststoff.jar $(DEB_DESTDIR)/usr/share/java/kunststoff-$(DEB_UPSTREAM_VERSION).jar
	dh_link /usr/share/java/kunststoff-$(DEB_UPSTREAM_VERSION).jar \
	  /usr/share/java/kunststoff.jar

get-orig-source:
	-uscan --upstream-version 0
